package ShoppingMall;

public class Person {
    private String name;
    public void setPersonName(String name){
        this.name = name; 
    }
    public String getPersonName(){
        return name;
    }
    /*
    because the Product isn't not this class unique;
    so you can't use public 
    */
    Product shopping(Market market,String name){ //how to use this product
        return market.sell(name);
    }
    
}
